package qldc.pm.tiensu.model.impl;

import com.liferay.portal.kernel.exception.SystemException;

import qldc.pm.tiensu.model.TEMP_TienSu;
import qldc.pm.tiensu.service.TEMP_TienSuLocalServiceUtil;

/**
 * The extended model base implementation for the TEMP_TienSu service. Represents a row in the &quot;TS_TEMP_TienSu&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link TEMP_TienSuImpl}.
 * </p>
 *
 * @author Brian Wing Shun Chan
 * @see TEMP_TienSuImpl
 * @see qldc.pm.tiensu.model.TEMP_TienSu
 * @generated
 */
public abstract class TEMP_TienSuBaseImpl extends TEMP_TienSuModelImpl
    implements TEMP_TienSu {
    /*
     * NOTE FOR DEVELOPERS:
     *
     * Never modify or reference this class directly. All methods that expect a t e m p_ tien su model instance should use the {@link TEMP_TienSu} interface instead.
     */
    @Override
    public void persist() throws SystemException {
        if (this.isNew()) {
            TEMP_TienSuLocalServiceUtil.addTEMP_TienSu(this);
        } else {
            TEMP_TienSuLocalServiceUtil.updateTEMP_TienSu(this);
        }
    }
}
